package com.openx.amqp;

import org.springframework.amqp.core.Exchange;
import org.springframework.amqp.core.Queue;

public class XRoute {
    private Exchange exchange;
    private String routeKey;
    private Queue queue;
    
    public XRoute(){}
    public XRoute(Exchange exchange, String routeKey, Queue queue) {
        this.exchange = exchange;
        this.routeKey = routeKey;
        this.queue = queue;
    }
    
    public Exchange getExchange() {
        return exchange;
    }
    public void setExchange(Exchange exchange) {
        this.exchange = exchange;
    }
    public String getRouteKey() {
        return routeKey;
    }
    public void setRouteKey(String routeKey) {
        this.routeKey = routeKey;
    }
    public Queue getQueue() {
        return queue;
    }
    public void setQueue(Queue queue) {
        this.queue = queue;
    }
    
}
